package java67_4;

import java.util.Scanner;

public class Quiz {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String answer;
		do {
			System.out.println("上机练习!");
			System.out.print("老师检查合格了?");
			answer = in.next();
		} while (answer.equals("y") == false);
		System.out.println("合格了!");
	}
}
